import request from '@/utils/request'

//仓储服务-规格字典-添加#权限标识：zhcloud:category:add
export function storageSpecDictAdd(data) {
    return request({
        url: '/storage/category/addCategory',
        method: 'post',
        data: data
    })
}

//仓储服务-规格字典-删除#权限标识：zhcloud:category:del
export function storageSpecDictDel(data) {
    return request({
        url: `/storage/category/delCategory?id2=${data.id2}`,
        method: 'post',
        data: data
    })
}